package com.xy.domain;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @TableName t_user
 */
@Data
public class User implements Serializable {
    /**
     *
     */
    private Integer id;


    private String nickname;

    private String realName;

    /**
     * 学号
     */
    private Long userNum;

    /**
     *
     */
    private String password;

    /**
     *
     */
    private Integer departNum;

    /**
     *
     */
    private Integer majorNum;

    /**
     *
     */
    private Long phone;

    /**
     *
     */
    private Integer role;

    /**
     *
     */
    private Integer status;

    /**
     *
     */
    private String avatar;
    private Integer title;

    /**
     *
     */
    private Date createTime;

    /**
     *
     */
    private Date updateTime;

    /**
     *
     */
    private Date lastActiveTime;

    /**
     *
     */
    private Boolean deleted;

    private String departName;

    private String majorName;

    private static final long serialVersionUID = 1L;
}
